<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> <?=SITE_NAME?>: 最具创意的礼品店 - 创意礼物 创意杂货 创意家居 创意玩具 </title>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<meta name="Keywords" content="LooPo,乐铺,创意礼品,创意礼物,创意生日礼物,创意杂货,创意家居,创意玩具,创意T恤" />
<meta name="Description" content="<?=SITE_NAME?>-最具创意的礼品店，主营创意礼物、创意生日礼物、创意杂货、创意家居、创意玩具、创意T恤等各种国内外创意品牌产品。正品保证，7天无条件退换保证。乐铺，用心经营，真诚对待每一位顾客。" />
<?php include VIEWS.'header.html'?>
<link rel="stylesheet" rev="stylesheet" href="<?php echo $_servername?>/css/home.v0.10.css" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="乐铺新品" href="<?php echo $_servername?>/whatnew/xml/" />
<link rel="alternate" type="application/rss+xml" title="乐铺热门商品" href="<?php echo $_servername?>/whathot/xml/" />

<?php
//推荐banner
$banner1[] = array("{$_servername}/photo?from=index", '/images/index/banner_17.gif', '提交你的创意，拿100元购物券');
$banner2[] = array("{$_servername}/tag/%E8%9A%82%E8%9A%81", '/images/index/banner_at.gif', '蚂蚁工坊新货到');
$banner3[] = array("http://store.taobao.com/shop/xshop/wui_page.htm?cmspage_id=null&amp;scid=16623089&amp;scname=%A1%BE%C0%D6%C6%CC%CF%DE%CA%B1%C5%C4%A1%BF&amp;user_id=13381f3e803e2d30f79035d70b75f7bf&amp;shop_id=33801347&amp;search=y", '/images/index/banner_pai.png', '乐铺限时拍倒计时', true);
$banner4[] = array("{$_servername}/420?from=index", '/images/index/banner_18.gif', '分享属于你我的心动旋律');
?>
</head>

<body>
<?php do_action('index_header')?>
<?php include VIEWS.'topbar.html'?>

<div id="content">
    <?php include VIEWS.'leftnav.html'?>

    <div id="right">
		<div id="right_top">
            <div id="home_tab">

                <div id="tabs">
                    <ul id="tabnav">
                        <li><a class="active" href="#tab_2009"><span>情人节快乐</span></a></li>
                        <li><a href="#tab_qs"><span>礼物导购</span></a></li>
                    </ul>
                    <div id="tab_r">
                        <form action="/search" method="get" id="home_search">
                        <input id="search_text" class="google_search" accesskey="s" value="礼物搜索" name="q" size="18" type="text" />
                        <input align="top" alt="搜索" src="/images/icon_homesearch.png" name="sub" type="image" />
                        </form>
                    </div>
                </div>

                <div id="tabpics">
                    <div id="tab_2009"><a href="/events/2009/214" target="_blank"><img alt="乐铺情人节活动-点击查看" src="/images/index/2009_vd.png" width="590" height="230" /></a></div>
                    <div id="tab_qs">
                        <ul>
                            <li>&#8250;&nbsp; <a href="/for/dad">给父亲</a></li>
                            <li>&#8250;&nbsp; <a href="/for/mom">给母亲</a></li>
                            <li>&#8250;&nbsp; <a href="/for/kids">给孩子</a></li>
                            <li>&#8250;&nbsp; <a href="/for/lovers">给伴侣</a></li>
                            <li class="title">&raquo;&nbsp; <b>送家人</b></li>
                        </ul>
                        <ul>
                            <li>&#8250;&nbsp; <a href="/for/him">给男朋友</a></li>
                            <li>&#8250;&nbsp; <a href="/for/her">给女朋友</a></li>
                            <li>&#8250;&nbsp; <a href="/for/friends">给伙伴</a></li>
                            <li>&#8250;&nbsp; <a href="/for/lovers">给情侣</a></li>
                            <li class="title">&raquo;&nbsp; <b>送朋友</b></li>
                        </ul>
                        <ul>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;pt=50">50元以下</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;pt=100">100元以下</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;pt=200&amp;pf=100">100~200元</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;pf=200">200元以上</a></li>
                            <li class="title">&raquo;&nbsp; <b>按价格</b></li>
                        </ul>
                        <ul style="border-right:0">
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;filter=<?=urlencode('金 银 铜 铁 铝 石 钢');?>">金属、矿石</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;filter=<?=urlencode('玻璃 陶');?>">玻璃、陶瓷</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;filter=<?=urlencode('塑 ABS PP');?>">塑料、塑胶</a></li>
                            <li>&#8250;&nbsp; <a href="/itemslist/?o=4&amp;filter=<?=urlencode('布 棉 纤维');?>">棉、布、纤维</a></li>
                            <li class="title">&raquo;&nbsp; <b>按材质</b></li>
                        </ul>
                        <div style="float:left;margin-left:20px;margin-top:25px;color:#C00">&#8250;&nbsp; <a href="/plugins/lucky.php" style="color:#c00">试试随机推荐</a>!</div>
                        <img style="float:right;margin-top:14px;" src="/images/title_qs.gif" alt="最好的礼物送给最爱的人" width="447" height="50" />
                    </div>

                </div>
            </div>
            
            <div id="home_btn">
                <ul>
                    <li><img width="190" height="80" alt="" src="/images/index/btn_livehelp.gif" /></li>
                    <li><img width="190" height="80" alt="满198免费送货" src="/images/index/btn_freeship.v0.2.png" /></li>
                    <li><a href="https://www.alipay.com/aip/aip_validate_list.htm?trust_id=AIP22543667" target="_blank"><img width="190" height="80" alt="支付宝特约商家" src="/images/index/btn_alipay.v0.1.png" /></a></li>
                </ul>
            </div>

        </div>

        <div id="right_top2">
            <ul>
                <li><a class="nohv" title="<?php echo $banner1[0][2]?>" href="<?php echo $banner1[0][0]; if ($banner1[0][3]) echo '" target="_blank'?>"><img border="0" src="<?php echo $banner1[0][1]?>" width="200" height="90" alt="<?php echo $banner1[0][2]?>" /></a></li>
                <li><a class="nohv" href="<?php echo $banner2[0][0]; if ($banner2[0][3]) echo '" target="_blank'?>"><img border="0" src="<?php echo $banner2[0][1]?>" width="201" height="90" alt="<?php echo $banner2[0][2]?>" /></a></li>
                <li><a class="nohv" href="<?php echo $banner3[0][0]; if ($banner3[0][3]) echo '" target="_blank'?>"><img border="0" src="<?php echo $banner3[0][1]?>" width="190" height="90" alt="<?php echo $banner3[0][2]?>" /></a></li>
                <li><a class="nohv" href="<?php echo $banner4[0][0]; if ($banner4[0][3]) echo '" target="_blank'?>"><img border="0" src="<?php echo $banner4[0][1]?>" width="199" height="90" alt="<?php echo $banner4[0][2]?>" /></a></li>
            </ul>
        </div>
        
        <div id="right_rcm_title">
            <h3 class="y">&nbsp; &raquo;&nbsp;最新到货</h3>
            <div id="home_maillist">
                <form action="http://groups.google.com/group/loopo/boxsubscribe" method="get" target="_blank">
                乐铺电子报：
                <input type="hidden" name="hl" value="zh-CN" />
                <input value="输入您的邮件地址" id="maillist_text" name="email" size="16" type="text" />
                <input class="px12 bluebtn" value="订阅" name="sub" type="submit" />
                </form>
            </div>
        </div>

        <div id="right_rcm" style="width:590px;float:left;">
            <?php echo round_table('100%', 'EEEEEE', 'white', 10, 10, 'top')?>
            <table id="rcm" align="center" cellpadding="0" cellspacing="0" border="0">
                <tr><?php foreach ($whatnew as $k=>$v):?><td width="25%" height="180"><div class="items"><a class="nohv" tabindex="100" href="/<?php echo $v['id']?>"><img border="0" alt="<?php echo $v['name']?>" src="/images/items/thumb/120/<?php echo $v['model']?>.png" width="120" height="120" /></a></div><br clear="all" /><div class="items_name"><a href="/<?php echo $v['id']?>"><?php echo $v['name']?></a></div></td><?php unset($whatnew[$k]); $ri++; if($ri==4) { unset($ri); break;} endforeach?></tr>
                <tr><?php foreach ($whatnew as $k=>$v):?><td width="25%" height="180"><div class="items"><a class="nohv" tabindex="100" href="/<?php echo $v['id']?>"><img border="0" alt="<?php echo $v['name']?>" src="/images/items/thumb/120/<?php echo $v['model']?>.png" width="120" height="120" /></a></div><br clear="all" /><div class="items_name"><a href="/<?php echo $v['id']?>"><?php echo $v['name']?></a></div></td><?php unset($whatnew[$k]); $ri++; if($ri==4) { unset($ri); break;} endforeach?></tr>
                <tr><?php foreach ($whatnew as $k=>$v):?><td width="25%" height="180"><div class="items"><a class="nohv" tabindex="100" href="/<?php echo $v['id']?>"><img border="0" alt="<?php echo $v['name']?>" src="/images/items/thumb/120/<?php echo $v['model']?>.png" width="120" height="120" /></a></div><br clear="all" /><div class="items_name"><a href="/<?php echo $v['id']?>"><?php echo $v['name']?></a></div></td><?php unset($whatnew[$k]); $ri++; if($ri==4) { unset($ri); break;} endforeach?></tr>
                <tr><?php foreach ($whatnew as $k=>$v):?><td width="25%" height="180"><div class="items"><a class="nohv" tabindex="100" href="/<?php echo $v['id']?>"><img border="0" alt="<?php echo $v['name']?>" src="/images/items/thumb/120/<?php echo $v['model']?>.png" width="120" height="120" /></a></div><br clear="all" /><div class="items_name"><a href="/<?php echo $v['id']?>"><?php echo $v['name']?></a></div></td><?php unset($whatnew[$k]); $ri++; if($ri==4) { unset($ri); break;} endforeach?></tr>
            </table>
            <?php echo round_table('100%', 'EEEEEE', 'white', 10, 10, 'bottom')?>
        </div>
        
        <div id="topsale">
            <h3 class="y">&nbsp; &raquo;&nbsp;本月热卖</h3>
            <ul>
                <?php if ($topsale) foreach ($topsale as $v):
                $_itop++;if ($_itop==10) break;
                ?>
                <li><a href="/<?=$v['iid']?>?click=top" target="_blank"><img src="/images/items/thumb/60/<?=$v['model']?>.png" width="60" height="60" alt="<?=$v['iname']?>" /></a>
                <span><a href="/<?=$v['iid']?>?click=top" target="_blank"><?=$v['iname']?></a><br /><font class="price_small"><?php if($v['price2']>$v['price1']) echo '特价 ';?>&yen; <?=$v['price1']?></font></span>
                </li>
                <?php endforeach?>
            </ul>
        </div>

        <div class="clear"></div>

        <div id="service_bar">
            <h3>常见问题</h3>
            <div id="service_faq">
                <ul class="section" style="float:left">
                    <li><a href="/faq/19" target="_blank">有关会员资格</a></li>
                    <li><a href="/faq/33" target="_blank">付款方式</a></li>
                    <li><a href="/faq/26" target="_blank">什么是付款期限</a></li>
                </ul>
                <ul class="section" style="float:left;width:100px;margin-left:20px">
                    <li><a href="/faq/34" target="_blank">如何网上支付</a></li>
                    <li><a href="/faq/31" target="_blank">退换货说明</a></li>
                    <li><a href="/faq/20" target="_blank">忘记密码</a></li>
                </ul>
                <div class="clear"></div>
                <div style="float:right;clear:both">&#8250; <a href="/faq" target="_blank">更多...</a></div>
            </div>

            <div id="service_news">
                <h3>乐铺博客</h3>
                <ul class="section">
                    <?php
                    if($news):foreach($news as $new):?>
                    <li><span style="font-size:10px;color:#999;font-family:arial">[<?php echo date('m.d', strtotime($new['post_date']))?>]</span>&nbsp;<a title="<?php echo $new['post_title']?>" href="/blog/?p=<?php echo $new['ID']?>" target="_blank"><?php echo $new['post_excerpt'] ? $new['post_excerpt'] : $new['post_title']?></a></li>
                    <?php endforeach;endif?>
                </ul>
                <div class="clear"></div>
                <div style="float:right;clear:both">&#8250; <a href="/blog/" target="_blank">更多...</a></div>
            </div>
        </div>

    </div>
</div>

<script type="text/javascript">
function onloadall() {
    //homeTab
    new Control.Tabs('tabnav');

    //search
    $('search_text').observe('focus', function(){if (this.value=='礼物搜索') this.value=''});
    $('maillist_text').observe('focus', function(){if (this.value=='输入您的邮件地址') this.value=''});
}

addDOMLoadEvent(onloadall);
</script>

<?php include VIEWS.'copyright.html'?>
<?php do_action('index_footer')?>

</body>
</html>
